import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

export default new VueRouter({
    mode: 'history',
    routes: [
        {
            path: '/',
            redirect: '/login'
        },
        {
            path: '/login',
            name: 'Login',
            component: () => import('@/views/login/Login'),
        },
        {
            path: '/common',
            name: 'Common',
            component: () => import('@/views/common/index'),
        }
    ]
})

